Data Structures & Algorithms Practice Questions Answers Test With Solutions & More Shortcuts

DATA STRUCTURES & ALGORITHMS PRACTICE TEST [2 - EXERCISES]

Data Structures & Algorithms Set 1

Data Structures & Algorithms Set 2

Question : 6

The complexity of Binary search algorithm is

a) O(n)

b) O(log n)

c) O(n log n)

d) None of the above

Answer: (b)

Question : 7

The post order traversal of a binary tree is DEBFCA. Find out the pre order traversal

a) ABFCDE

b) ADBFEC

c) ABDECF

d) None of the above

Answer: (c)

Question : 8

The complexity of merge sort algorithm is

a) O(n)

b) O(log n)

c) O(n log n)

d) None of these

Answer: (c)

Question : 9

The depth of a complete binary tree is given by

a) D n = n log 2 n

b) Dn = n log 2 n+1

c) D n = log 2 n

d) D n = log 2 n+1

Answer: (d)

Question : 10

In a graph if e=(u, v) means

a) e begins at u and ends at v

b) u is processor and v is successor

c) both B and C are true

d) none is true

Answer: (c)

IMPORTANT COMPUTER MCQ EXERCISES

Data Structures & Algorithms Shortcuts »

Click to Read...

Data Structures & Algorithms Set 1 Online Quiz

Click to Start..
296 Data Structures & Algorithms Based Computer MCQ Set 1 Question Answer With Explanation Pdf

Recently Added Subject & Categories For All Competitive Exams

Alphabet and Number Arrangement Aptitude Model Test SSC

Alphabet and Number Arrangement objective Questions with detailed answers, PDF. Aptitude 50+ Practice MCQ exercises for SSC, all competitive, Bank Exams

22-Jul-2024 by Careericons

Continue Reading »

SSC Direction and Distance Sense MCQ Practice Exercise

Top Direction and Distance Sense objective questions with answers, PDF for SSC. 100+ Aptitude practice exercises for all Bank, Govt, and Competitive Exams

22-Jul-2024 by Careericons

Continue Reading »

100+ Blood Relation Aptitude Test Online, PDF for SSC

Top Blood Relation objective questions with answers, download PDF for SSC. 100+ Aptitude online practice exercises for all Bank, Govt, and Competitive Exams

22-Jul-2024 by Careericons

Continue Reading »

Top 100+ English Jumbled Sentences MCQ with PDF for RBI

Very important Jumbled Sentences questions with answers PDF for RBI. 100+ General English practice exercises for all Bank, Govt, and Competitive Exams

19-Jul-2024 by Careericons

Continue Reading »